import Vue from 'vue'
import App from './App'
import store from './store'
import { $to } from "utils/common"
import { setData } from "utils/main"
import { $url, $back } from "utils/router"
import { $get, $post, $put, $delete } from "utils/http"
import { $log, $alert, $confirm, $fail } from "utils/layer"
import { $static } from "utils/config"
/* 使用 uview-ui 组件 */
/* import uView from "uview-ui";
Vue.use(uView); */
/* 原型方法 */
Object.assign(
	Vue.prototype
	, {
		 $url
		, $back
		, $get
		, $post
		, $put
		, $delete
		, $log
		, $alert
		, $confirm
		, $fail
		, $to
		, $static
		, setData
	}
);


App.mpType = 'app';
Vue.config.productionTip = false;
const app = new Vue({
	...App
	, store
});
app.$mount();
